package com.alipay.api.request;

import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayEcapiprodDataPutResponse;
import java.util.Map;

public class AlipayEcapiprodDataPutRequest implements AlipayRequest {

   private AlipayHashMap udfParams;
   private String apiVersion = "1.0";
   private String category;
   private String charSet;
   private String collectingTaskId;
   private String entityCode;
   private String entityName;
   private String entityType;
   private String isvCode;
   private String jsonData;
   private String orgCode;
   private String terminalType;
   private String terminalInfo;
   private String prodCode;
   private String notifyUrl;


   public void setCategory(String category) {
      this.category = category;
   }

   public String getCategory() {
      return this.category;
   }

   public void setCharSet(String charSet) {
      this.charSet = charSet;
   }

   public String getCharSet() {
      return this.charSet;
   }

   public void setCollectingTaskId(String collectingTaskId) {
      this.collectingTaskId = collectingTaskId;
   }

   public String getCollectingTaskId() {
      return this.collectingTaskId;
   }

   public void setEntityCode(String entityCode) {
      this.entityCode = entityCode;
   }

   public String getEntityCode() {
      return this.entityCode;
   }

   public void setEntityName(String entityName) {
      this.entityName = entityName;
   }

   public String getEntityName() {
      return this.entityName;
   }

   public void setEntityType(String entityType) {
      this.entityType = entityType;
   }

   public String getEntityType() {
      return this.entityType;
   }

   public void setIsvCode(String isvCode) {
      this.isvCode = isvCode;
   }

   public String getIsvCode() {
      return this.isvCode;
   }

   public void setJsonData(String jsonData) {
      this.jsonData = jsonData;
   }

   public String getJsonData() {
      return this.jsonData;
   }

   public void setOrgCode(String orgCode) {
      this.orgCode = orgCode;
   }

   public String getOrgCode() {
      return this.orgCode;
   }

   public String getNotifyUrl() {
      return this.notifyUrl;
   }

   public void setNotifyUrl(String notifyUrl) {
      this.notifyUrl = notifyUrl;
   }

   public String getApiVersion() {
      return this.apiVersion;
   }

   public void setApiVersion(String apiVersion) {
      this.apiVersion = apiVersion;
   }

   public void setTerminalType(String terminalType) {
      this.terminalType = terminalType;
   }

   public String getTerminalType() {
      return this.terminalType;
   }

   public void setTerminalInfo(String terminalInfo) {
      this.terminalInfo = terminalInfo;
   }

   public String getTerminalInfo() {
      return this.terminalInfo;
   }

   public void setProdCode(String prodCode) {
      this.prodCode = prodCode;
   }

   public String getProdCode() {
      return this.prodCode;
   }

   public String getApiMethodName() {
      return "alipay.ecapiprod.data.put";
   }

   public Map getTextParams() {
      AlipayHashMap txtParams = new AlipayHashMap();
      txtParams.put("category", this.category);
      txtParams.put("char_set", this.charSet);
      txtParams.put("collecting_task_id", this.collectingTaskId);
      txtParams.put("entity_code", this.entityCode);
      txtParams.put("entity_name", this.entityName);
      txtParams.put("entity_type", this.entityType);
      txtParams.put("isv_code", this.isvCode);
      txtParams.put("json_data", this.jsonData);
      txtParams.put("org_code", this.orgCode);
      if(this.udfParams != null) {
         txtParams.putAll(this.udfParams);
      }

      return txtParams;
   }

   public void putOtherTextParam(String key, String value) {
      if(this.udfParams == null) {
         this.udfParams = new AlipayHashMap();
      }

      this.udfParams.put(key, value);
   }

   public Class getResponseClass() {
      return AlipayEcapiprodDataPutResponse.class;
   }
}
